package com.aerozhonghuan.logisticsmall.modules.mine.beans;

import java.io.Serializable;
import java.util.List;

/**
 * 描述 消息列表对象
 *
 * @author zhangyonghui
 * 创建日期 2019-05-23
 */
public class MessageListBean implements Serializable {
    private int total;
    private int totalPage;
    private List<MessageBean> datalist;

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }

    public int getTotalPage() {
        return totalPage;
    }

    public void setTotalPage(int totalPage) {
        this.totalPage = totalPage;
    }

    public List<MessageBean> getDatalist() {
        return datalist;
    }

    public void setDatalist(List<MessageBean> datalist) {
        this.datalist = datalist;
    }

    @Override
    public String toString() {
        return "MessageListBean{" +
                "total=" + total +
                ", totalPage=" + totalPage +
                ", datalist=" + datalist +
                '}';
    }

    public class MessageBean implements Serializable {
        private String title;
        private int msgType;
        private String text;
        private String createtime;
        private Object attrs;

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public int getMsgType() {
            return msgType;
        }

        public void setMsgType(int msgType) {
            this.msgType = msgType;
        }

        public String getText() {
            return text;
        }

        public void setText(String text) {
            this.text = text;
        }

        public String getCreatetime() {
            return createtime;
        }

        public void setCreatetime(String createtime) {
            this.createtime = createtime;
        }

        public Object getAttrs() {
            return attrs;
        }

        public void setAttrs(Object attrs) {
            this.attrs = attrs;
        }

        @Override
        public String toString() {
            return "MessageBean{" +
                    "title='" + title + '\'' +
                    ", msgType=" + msgType +
                    ", text='" + text + '\'' +
                    ", createtime='" + createtime + '\'' +
                    ", attrs='" + attrs + '\'' +
                    '}';
        }
    }

}
